package com.reflect;

import java.lang.reflect.Method;

/**
 * MethodTest--bdqnPractice
 *
 * @author: Jovi
 * @createTime: 2017-08-02 11:27
 **/
public class MethodTest {

    public static void main(String[] args) {
        Class cls = People.class;
        Method[] ms = cls.getDeclaredMethods();
        for (Method m : ms) {
            System.out.println(m.getName());
        }
    }
}
